{% extends "base.html" %}

{% load i18n %}

{% block title %}{% trans "Dissertations"%}{% endblock %}
{% block head %}{% trans "Dissertation list of SubArea"%} {{ sub_area }}{% endblock %}

{% block content %}
        <p>| <a href="/dissertations/add/">{% trans "Add dissertation"%}</a> |</p>
    <table class="tablesorter" align="center" id="sorter_dissertations" border="0" cellpadding="0" cellspacing="1" style="width:970px;">
        <thead>
            <tr>
                <th>{% trans "Date"%}</th>
                <th>{% trans "Author"%}</th>
                <th>{% trans "Title"%}</th>
                <th>{% trans "Status"%}</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            {% for obj in all %}
                <tr>
                    <td>{{ obj.date|default_if_none:"" }}</td>
                    <td>{{ obj.author_first_name|default_if_none:"" }} {{ obj.author_last_name|default_if_none:"" }}</td>
                    <td>{{ obj.title|default_if_none:"" }}</td>
                    <td>{{ obj.status|default_if_none:"" }}</td>
                    <td class="right"><a href="/dissertations/show/{{ obj.id }}/">{% trans "Show"%}</a></td>
                </tr>
            {% endfor %}
        </tbody>
    </table>
    <br /><br />
        <p>| <a href="/dissertations/add/">Add dissertation</a> |</p>
    <br /><br /><br /><br /><br /><br />
{% endblock %}
